<?php
/**
 * Magento Enterprise Edition
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Magento Enterprise Edition End User License Agreement
 * that is bundled with this package in the file LICENSE_EE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.magento.com/license/enterprise-edition
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    design
 * @package     default_default
 * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
 * @license http://www.magento.com/license/enterprise-edition
 */
?>
<?php
/**
 * @see Enterprise_Rma_Block_Adminhtml_Rma_New_Tab_General_Details
 */

$customerLink = $this->getCustomerLink();
?>
<div class="entry-edit">
    <div class="entry-edit-head">
        <h4 class="icon-head head-shipping-method"><?php echo Mage::helper('enterprise_rma')->__('Request Details') ?></h4>
    </div>
    <div class="fieldset">
        <div class="hor-scroll">
            <table cellspacing="0" class="form-list">
                <tr>
                    <td class="label"><label><?php echo Mage::helper('enterprise_rma')->__('Order ID') ?></label></td>
                    <td class="value"><a href="<?php echo $this->getOrderLink() ?>"><?php echo Mage::helper('enterprise_rma')->__('#') . $this->getOrderIncrementId() ?></a></td>
                </tr>
                <tr>
                    <td class="label"><label><?php echo Mage::helper('enterprise_rma')->__('Customer Name') ?></label></td>
                    <td class="value">
                        <?php
                            if ($customerLink) {
                                echo '<a href="' . $customerLink . '">';
                            }
                            echo $this->getCustomerName();
                            if ($customerLink) {
                                echo '</a>';
                            }
                        ?>
                    </td>
                </tr>
                <tr>
                    <td class="label"><label><?php echo Mage::helper('enterprise_rma')->__('Email Address') ?></label></td>
                    <td class="value"><a href="mailto:<?php echo $this->getCustomerEmail() ?>"><?php echo $this->getCustomerEmail() ?></a></td>
                </tr>
                <tr>
                    <td class="label"><label><?php echo Mage::helper('enterprise_rma')->__('Contact Email Address') ?></label></td>
                    <td class="value"><input type="text" class="input-text validate-email" name="contact_email" id="contact_email"/></td>
                </tr>
            </table>
        </div>
    </div>
</div>
